package me.ingxin.android.permission2.view.impl

import android.content.Context
import me.ingxin.android.permission2.view.Guide
import me.ingxin.android.permission2.view.GuideView

/**
 * Created on 2023/7/8 by yin
 */
class DefaultGuide : Guide() {

    override fun createReasonView(context: Context, permissions: List<String>): GuideView {
        return DefaultReasonDialog(context, permissions)
    }

    override fun createToSettingsView(
        context: Context, permissions: List<String>
    ): GuideView {
        return DefaultReasonDialog(context, permissions, true)
    }

    override fun createTipsView(
        context: Context, permissions: List<String>
    ): GuideView {
        return DefaultTipsDialog(context, permissions)
    }
}